﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ColumnSet.aspx.cs" Inherits="CNVP.JShop.Admin.Template.Operate.ColumnSet" %>
<html>
<head>
<title></title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
<link type="text/css" href="../../images/global.css" rel="stylesheet" />
    <script src="../../../Scripts/jquery.js" type="text/javascript"></script>
<script  type="text/javascript" language="javascript" src="../../common/option.js"></script>
</head>
<body style="background:#f7fafb;" scroll="no">
<form id="form1" runat="server">
<input type="hidden" id="HidParentID" name="HidParentID" value="<%=_ParentID %>"/>
<table width="370" border="0" cellspacing="0" cellpadding="0" align="center" class="unit_table">
<tr>
<td height="25" colspan="2" class="cell_left"><span class="warning">注意：请先点击左边目录导航，选择需要的栏目。</span></td>
</tr>
<tr>
<td colspan="2" class="cell_center">
<fieldset style="width:350px;border:1px solid #CCCCCC;height:160px;padding:2px"><legend>操作注意事项</legend>
<asp:ListBox ID="LitColumnList" runat="server" CssClass="pop_select" Width="350px" Height="140px"></asp:ListBox>
</fieldset>
</td>
</tr>
<tr>
<td colspan="2" class="cell_center">
<fieldset style="width:350px;border:1px solid #CCCCCC;height:80px;padding:2px"><legend>当前选择的栏目</legend>
<table width="330" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="50" class="cell_left">栏目名称</td>
<td height="50" class="cell_left"><asp:TextBox ID="TxtColumnName" runat="server" CssClass="column_operateinput" ReadOnly="true" Enabled="false"></asp:TextBox>
</td>
</tr>
</table>
</fieldset></td>
</tr>
<tr>
<td class="cell_left"></td>
<td class="cell_right" height="50"><input id="submit" type="button" onclick="CheckForm()" value="确 定" class="column_operatebtn"/> <input id="CloseBtn" type="button" value="取 消" onclick="removeTB('parent.parent');" class="column_operatebtn"/></td>
</tr>
</table>
<script language="javascript" type="text/javascript">
function CheckForm() {
	if ($("#HidParentID").val()=="")
	{
	    alert("栏目名称不能为空！");
	}
	window.parent.parent.bottomframe.document.getElementById("HidColumnID").value = $("#HidParentID").val();
	window.parent.parent.bottomframe.document.getElementById("TxtColumnName").value = $("#TxtColumnName").val();
	removeTB('parent.parent');
}
</script>
</form>
</body>
</html>